package org.example;

import com.enjoy.seata.service.BusinessService;
import com.enjoy.seata.service.impl.BusinessServiceImpl;

/**
 * 使用api构建单体应用多数据源分布式事务 非spring环境
 */
public class Main {
    public static void main(String[] args) {
        BusinessService businessService = new BusinessServiceImpl();

        businessService.purchase("U100001", "C00321", 100, 999);


    }
}